#!/bin/sh

# 安装tzdata包
apk add --no-cache tzdata >/dev/null 2>&1
# 设置时区为上海
ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo "时区已成功设置为上海"

chmod +x /opt/ikuai-bypass/ikuai-bypass &&
    /opt/ikuai-bypass/ikuai-bypass -m ii -r cron -c /opt/ikuai-bypass/config.yml
